SERVER=xenon.cs.luc.edu:~/public_html/cs271/lectures

all: images slides article

article:
	pdflatex lec2-bestpractices.article.tex
	pdflatex lec2-bestpractices.article.tex

slides:
	pdflatex lec2-bestpractices.beamer.tex
	pdflatex lec2-bestpractices.beamer.tex

images:
	#dot -Tps diagram1.dot > diagram1.ps

publish: all
	scp lec2-bestpractices.beamer.pdf ${SERVER}/lec2-bestpractices.beamer.pdf
	scp lec2-bestpractices.article.pdf ${SERVER}/lec2-bestpractices.article.pdf

clean:
	-rm *.aux *.log *.nav *.out *.pdf *.snm *.toc *.vrb *.ps *.dvi
	-rm *~